package com.shuoyue.adven.main;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.shuoyue.adven.R;
import com.sm.appbase.base.BaseActivity;

public class TestActivity extends BaseActivity {
    ImageView imageView;


    @Override
    protected int getLayoutId() {
        return R.layout.activity_test;
    }

    @Override
    protected void initView() {
        imageView = findViewById(R.id.img);
        Glide.with(mContext)
                .load("https://api.meilinbang.com.cn//uploads//20200824//1e715d951c72c817249e08a1b31af94a.jpg")
                .error(R.mipmap.img_loading_gray)
                .placeholder(R.mipmap.img_loading_gray)
                .into(imageView);
    }
}
